<?php
	require"image.class.php";
	

	$src = 'car.jpg';
	
	$content="hello world!!!";
	$font_url="msyhbd.ttf";
	$size = 20;
	$color=array(
		0 => 255,
		1 => 255,
		2 => 255,
		3 =>20
	);
	$local = array(
		'x' => 20,
		'y' => 80
	);
	$angle = 10;


	

	$source = "sign.png";
	
	$alpha = 100;
	$image = new Image($src);
	$image->imageMark($source,$local,$alpha);
	$image->Thumb(300,200);
	$image->fontMark($content,$font_url,$size,$color,$local,$angle);
	$image->show();
?>